package com.gxl.butt.value;

/**
 * Created by guoxiaolin on 2018/7/16.
 */
public class ErrorMsg {

    /**
     * 成功提示文本
     */
    public static final String SUCCESS_MSG = "SUCCESS";
    /**
     * 失败提示文本
     */
    public static final String FAILD_MSG = "FAILD";

    /**
     * JSONUtils 的 key 名称
     */
    public static final String JSONUTIL_ERROR_CODE = "error_code";
    public static final String JSONUTIL_MSG = "msg";
    public static final String JSONUTIL_DATA = "data";

    /**
     * topic 业务
     */
    public static final String TOPIC_OF_COUNT_USER= "countUser";
    public static final String TOPIC_OF_REPORT= "report";

    /**
     * 业务提示文本
     */
    public static final String TOPIC_NOT_EXIST = "该 topic 不存在";
    public static final String TOPIC_STATUS_STOP = "该 topic 已暂停";
    public static final String TOKEN_EXCEPTION = "TOKEN 异常";
    public static final String TOPIC_EXIST = "该 topic 已经存在";
    public static final String IDCARD_BE_REGISTER = "身份证号已被注册";
    public static final String ACCOUNT_EXIST = "账号已存在";
    public static final String ACCOUNT_NOT_EXIST = "账号可用";
    public static final String USER_LOGIN = "用户已经登录";
    public static final String USER_LOGOUT = "用户未登录";
    public static final String ACCOUNT_FORMAT_ERROR = "账号格式错误,6-8位小写字母";
    public static final String PASSWORD_FORMAT_ERROR = "密码格式错误,6-8位数字";
    public static final String ACCOUNT_OR_PASSWORD_ERROR = "账号或密码错误";
    public static final String NICK_NAME_FORMAT_ERROR = "昵称格式错误,1-8个字符";
    public static final String IDCARD_FORMAT_ERROR = "证件号格式错误";
    public static final String STR_IS_EMPTY = "";
    public static final String TOKEN_IS_NULL = "TOKEN 不存在";
    public static final String UPDATE_TOKEN_LOST = "更新 TOKEN 失败";
    public static final String DEL_IP_LOST = "删除 IP 失败";
    public static final String IP_LIST_IS_NULL = "ip 白名单为空";
    public static final String IP_FORMAT_ERROR = "ip 格式错误";
    public static final String OPEN_NOT_NULL = "openid 不能为空";
    public static final String IP_ERROR = "ip 错误";



    /** 正则表达式*/
    /**  6-8位小写字母 */
    public static final String REG_LOWER_LETTER="([a-z]){6,8}$";
    /**  6-8数字  */
    public static final String REG_MATH="([0-9]){6,8}$";


    /*
    * 第三方服务接口
    *
    * */
    //机器人接口
    public static final String ROBOOTURL = "http://drea.cc/api/chat.php";

    //天气预报接口
    public static final String WATHERURL = "https://www.apiopen.top/weatherApi";

}
